package san.entity.demo;

import javax.persistence.Entity;
import javax.persistence.Table;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.dao.BaseEntity;

@Entity
@Table(name = "UpOrDownFile")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class UpOrDownFile extends BaseEntity {

	/**
	 * 文件上传及下载
	 */
	private static final long serialVersionUID = 1594921584816752945L;
	private String uploadOldName;
	private String uploadFileName;
	private String uploadFileType;
	private Long uploadFileSize;
	private String uploadFileAuthor;
	private String uploadFileBeizhu;

	public String getUploadOldName() {
		return uploadOldName;
	}

	public void setUploadOldName(String uploadOldName) {
		this.uploadOldName = uploadOldName;
	}

	public Long getUploadFileSize() {
		return uploadFileSize;
	}

	public void setUploadFileSize(Long uploadFileSize) {
		this.uploadFileSize = uploadFileSize;
	}

	public String getUploadFileName() {
		return uploadFileName;
	}

	public void setUploadFileName(String uploadFileName) {
		this.uploadFileName = uploadFileName;
	}

	public String getUploadFileType() {
		return uploadFileType;
	}

	public void setUploadFileType(String uploadFileType) {
		this.uploadFileType = uploadFileType;
	}

	public String getUploadFileAuthor() {
		return uploadFileAuthor;
	}

	public void setUploadFileAuthor(String uploadFileAuthor) {
		this.uploadFileAuthor = uploadFileAuthor;
	}

	public String getUploadFileBeizhu() {
		return uploadFileBeizhu;
	}

	public void setUploadFileBeizhu(String uploadFileBeizhu) {
		this.uploadFileBeizhu = uploadFileBeizhu;
	}

	@Override
	public String toString() {
		return this.uploadFileName;
	}

}
